home *** CD-ROM | disk | FTP | other *** search
- Path: chrism.demon.co.uk!chris
- From: Chris Marriott <chris@chrism.demon.co.uk>
- Newsgroups: comp.os.ms-windows.programmer.tools.mfc,comp.os.ms-windows.nt.pre-release,comp.lang.c++
- Subject: Re: Catastrophic OLE Error
- Date: Mon, 8 Apr 1996 17:20:55 +0100
- Organization: SkyMap Software
- Distribution: world
- Message-ID: <Hx4p8PAnzTaxEw+2@chrism.demon.co.uk>
- References: <31689491.151762072@newsserv.ctp.com>
- NNTP-Posting-Host: chrism.demon.co.uk
- X-NNTP-Posting-Host: chrism.demon.co.uk
- MIME-Version: 1.0
- X-Newsreader: Turnpike Version 1.11 <xvymwJsTYh8aYs0yGmHsPZXi9Q>
-
- In article <31689491.151762072@newsserv.ctp.com>, "Stephen D. Ayers"
- <sayer@ctp.com> writes
- >I have built a very small OCX using the VC++ 4.1 project Wizard. The
- >control supports a single method with no arguments and no return
- >value.
- >
- >The VC++ OLE test container tool works fine. It allows me to invoke
- >methods without difficulty.
- >
- >However, whenever I try invoking methods on the object from VB, VBA
- >within Excel, or VC++ clients they all return "OLE Automation error -
- >Catastrophic failure" after a successful object create.
-
- OCXs and OLE Automation are NOT the same thing! It sounds as though
- you're attempting to use automation on an object which does not expose
- automation interfaces.
-
- Chris
-
- --------------------------------------------------------------------------
- Chris Marriott, Warrington, UK | Author of SkyMap v3 award-winning
- chris@chrism.demon.co.uk | shareware Win31/Win95 planetarium.
- For full info, see http://www.execpc.com/~skymap
- Author member of Association of Shareware Professionals (ASP)
- --------------------------------------------------------------------------
-
-